package com.java.comprehensive.design.test.first;

/**
 * @Author: Dgg
 * @Date: 2022/2/8 22:57
 */
public class Rental {
	private Movie _movie;
	private int _daysRentd;

	public Movie get_movie() {
		return _movie;
	}

	public void set_movie(Movie _movie) {
		this._movie = _movie;
	}

	public int get_daysRentd() {
		return _daysRentd;
	}

	public void set_daysRentd(int _daysRentd) {
		this._daysRentd = _daysRentd;
	}

	public double getCharge() {
		return _movie.getCharge(_daysRentd);
	}

	public int getFrequentRenterPoints() {
		return _movie.getFrequentRenterPoints(_daysRentd);
	}
}
